
<form action="" method="post" class="we7-form" enctype="multipart/form-data" id="form1">
	<input type="hidden" name="id" value="{$info['id']}">
	<input type="hidden" name="settype" value="1">
	<input type="hidden" name="todo" value="savetemplate">
	
	<div class="form-group">
		<label class="col-sm-2 control-label">提现到账模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			{if $info['tpl_wd_arrival']}
                <p class="form-control-static">
                     <input type="text" name="indata[tpl_wd_arrival]" value="{$info['tpl_wd_arrival']}" id="points" class="form-control" style="width: 400px;" />
                     <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_wd_arrival','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                        点击更换
                    </a>
                </p>
                <div style="color: #999;">*模板编号AT0830,关键词(提现金额、手续费、到账金额、提现状态、到账类型)</div>
            {else}
                <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_wd_arrival','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                    点击启用
                </a>
            {/if}
            <div>提现转账处理完成后向用户发送消息</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">提现失败模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			{if $info['tpl_wd_fail']}
                <p class="form-control-static">
                     <input type="text" name="indata[tpl_wd_fail]" value="{$info['tpl_wd_fail']}" id="points" class="form-control" style="width: 400px;" />
                     <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_wd_fail','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                        点击更换
                    </a>
                </p>
                <div style="color: #999;">*模板编号AT1242,关键词(提现金额、备注)</div>
            {else}
                <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_wd_fail','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                    点击启用
                </a>
            {/if}
			<div>提现失败向用户发送消息</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">分销审核模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			{if $info['tpl_share_check']}
                <p class="form-control-static">
                     <input type="text" name="indata[tpl_share_check]" value="{$info['tpl_share_check']}" id="points" class="form-control" style="width: 400px;" />
                     <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_share_check','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                        点击更换
                    </a>
                </p>
                <div style="color: #999;">*模板编号AT0674,关键词(审核状态、审核时间)</div>
            {else}
                <a href="{php echo $this->createWebUrl('distribution_set', array('todo'=>'setting','tid'=>'tpl_share_check','settype'=>1,'id'=>$info['id']))}" class="btn btn-primary" style="background-color: #d9534f;border-color: #d9534f;">
                    点击启用
                </a>
            {/if}
			<div>分销审核结果向用户发送消息</div>
		</div>
	</div>

	<div class="form-group">
		<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
		<input type="hidden" name="token" value="{$_W['token']}" />
	</div>
</form>